Conversation
Version 1.15 is broken due to the latest pip release(s).
This reduces the requests for before integration tests have been checked.
Recent pylint flags this for fixing.
Recent mypy flags this.
Also upgrade all the pytest plugins.
…tions. These are easier to override via matrix interpolation.
…onment instead of just using the system-provided python.
This doesn't affect the python version in the environment under test.
…ersion supported.
|
✅ 40/40 passed, 6 skipped, 20m20s total Running from acceptance #239 |
Draft PRs also trigger a run.
m-abulazm
approved these changes
Mar 12, 2026
gueniai
added a commit
that referenced
this pull request
Mar 23, 2026
* Explicit support and testing against Python 3.13 and 3.14 ([#228](#228)). The project's configuration and workflows have been updated to improve testing, dependency management, and support for the latest Python versions. Notably, the acceptance workflow now runs integration tests for draft pull requests, and the Hatch version has been upgraded to 1.16.5. The GitHub Actions workflow has been updated to use the latest versions of actions, including `actions/checkout@v6` and `actions/setup-python@v6`, and the Python version has been upgraded to 3.14. Environment variables `HATCH_VERBOSE` and `HATCH_VERSION` have been added, with `HATCH_VERBOSE` set to 2 and `HATCH_VERSION` set to 1.16.5. Additionally, the project's tooling has been refreshed, including upgrades to mypy, pylint, and pytest, and the configuration for running tests has been updated to include integration tests and matrix testing across multiple Python versions. Various code updates have also been made, including changes to type hints, the removal of unnecessary type parameters, and the addition of a `_not_none` function to handle potential `None` values. These changes aim to enhance the project's testing and setup process, ensure better support for the latest Python versions and tools, and improve code readability and maintainability. * Fixed issue 216 - name is required in serving config ([#224](#224)). The library has been updated to improve consistency and compatibility with the API behavior. The `_make_workspace_client` function now expects the `scopes` parameter to be a string, specifically "all-apis", to match the `ClientCredentials` signature. Additionally, the `EndpointCoreConfigInput` requires a `name` parameter, and the `served_entities` parameter is used instead of the deprecated `served_models`. The `create` function has been updated to use these new inputs and outputs, creating an endpoint with the required `name` and updated `served_entities` configuration, and returning a `ServingEndpointDetailed` object with a `pending_config` that includes both `served_models` and `served_entities` for compatibility. Furthermore, several test functions have been modified to access the `entity_name` and `entity_version` attributes of the `served_entities` list, ensuring the tests remain valid and verify the correct behavior of the `make_serving_endpoint` function with the new configuration. * [make_job] Allow passing serverless environments ([#227](#227)). The `make_job` function has been enhanced to provide users with more control over the execution environment of their tasks when using serverless compute. A new `environments` keyword argument has been introduced, allowing users to optionally pass a list of serverless environments, which is required for running Spark Python tasks and can override the notebook environment for Databricks Notebook tasks. This argument can be used in conjunction with other existing keyword arguments to create a job with a specific set of tasks and environments. The update enables users to specify serverless environments for their jobs, providing more flexibility and control over their compute resources, and includes backward compatibility with existing functionality, as demonstrated by updated test cases that verify the correct handling of the `environments` argument.
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
This PR updates the project to explicitly support and test against Python 3.13 and 3.14. Further to this, the project tooling has been refreshed somewhat.
Changes include:
We also now run integration tests even if the PR is a draft to help catch problems before marking it for review.
Tests